<form id="set-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="car/setRcDevConfig">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">状态:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('status', ['1'=>'上车', '2'=>'下车'])}
        </div>
    </div>
    <input type="hidden" name="IMEI" value="{$IMEI}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">车上剩余人数(上车为0):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-RC_Pres" class="form-control" name="RC_Pres" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">总人数:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-RC_Total" class="form-control" name="RC_Total" type="number" value="10">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed ">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
